home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Demos / Delphi.Net / CLR / Chat / ChatDemo.dpr < prev    next >
Encoding:
Text File  |  2004-10-22  |  3.5 KB  |  82 lines

  1. program ChatDemo;
  2.  
  3. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.dll'}
  4. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Data.dll'}
  5. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Drawing.dll'}
  6. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Windows.Forms.dll'}
  7. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.XML.dll'}
  8. {$R 'AboutForm.TAboutForm.resources' 'AboutForm.resx'}
  9. {$R 'ConnectForm.TConnectForm.resources' 'ConnectForm.resx'}
  10. {$R 'MainForm.TMainForm.resources' 'MainForm.resx'}
  11.  
  12. uses
  13.   System.Reflection,
  14.   System.Runtime.CompilerServices,
  15.   System.Windows.Forms,
  16.   SocketManager in 'SocketManager.pas',
  17.   AboutForm in 'AboutForm.pas' {AboutForm.TAboutForm: System.Windows.Forms.Form},
  18.   MainForm in 'MainForm.pas' {MainForm.TMainForm: System.Windows.Forms.Form},
  19.   ConnectForm in 'ConnectForm.pas' {ConnectForm.TConnectForm: System.Windows.Forms.Form};
  20.  
  21. //
  22. // General Information about an assembly is controlled through the following
  23. // set of attributes. Change these attribute values to modify the information
  24. // associated with an assembly.
  25. //
  26. [assembly: AssemblyTitle('TCP/IP Chat Demo')]
  27. [assembly: AssemblyDescription('Simple TCP/IP Chat application. It can act as' +
  28.   ' either a TCP/IP Client or Server.')]
  29. [assembly: AssemblyConfiguration('')]
  30. [assembly: AssemblyCompany('')]
  31. [assembly: AssemblyProduct('')]
  32. [assembly: AssemblyCopyright('')]
  33. [assembly: AssemblyTrademark('')]
  34. [assembly: AssemblyCulture('')]
  35.  
  36. //
  37. // Version information for an assembly consists of the following four values:
  38. //
  39. //      Major Version
  40. //      Minor Version
  41. //      Build Number
  42. //      Revision
  43. //
  44. // You can specify all the values or you can default the Revision and Build Numbers
  45. // by using the '*' as shown below:
  46.  
  47. [assembly: AssemblyVersion('1.0.2.1')]
  48.  
  49. //
  50. // In order to sign your assembly you must specify a key to use. Refer to the 
  51. // Microsoft .NET Framework documentation for more information on assembly signing.
  52. //
  53. // Use the attributes below to control which key is used for signing. 
  54. //
  55. // Notes: 
  56. //   (*) If no key is specified, the assembly is not signed.
  57. //   (*) KeyName refers to a key that has been installed in the Crypto Service
  58. //       Provider (CSP) on your machine. KeyFile refers to a file which contains
  59. //       a key.
  60. //   (*) If the KeyFile and the KeyName values are both specified, the 
  61. //       following processing occurs:
  62. //       (1) If the KeyName can be found in the CSP, that key is used.
  63. //       (2) If the KeyName does not exist and the KeyFile does exist, the key 
  64. //           in the KeyFile is installed into the CSP and used.
  65. //   (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
  66. //       When specifying the KeyFile, the location of the KeyFile should be
  67. //       relative to the project output directory which is
  68. //       %Project Directory%\bin\<configuration>. For example, if your KeyFile is
  69. //       located in the project directory, you would specify the AssemblyKeyFile 
  70. //       attribute as [assembly: AssemblyKeyFile('..\\..\\mykey.snk')]
  71. //   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
  72. //       documentation for more information on this.
  73. //
  74. [assembly: AssemblyDelaySign(false)]
  75. [assembly: AssemblyKeyFile('')]
  76. [assembly: AssemblyKeyName('')]
  77.  
  78. [STAThread]
  79. begin
  80.   Application.Run(TMainForm.Create);
  81. end.
  82.